package com.guaoran.other.decorator;

/**
 * @author : guaoran
 * @Description : <br/>
 * @date :2018/12/20 17:01
 */
public class Test {
    public static void main(String[] args) {
        //原来的功能依旧对外开放，依旧保留,新的功能同样的也可以使用
        UserForThirdService userForThirdService = new UserForThirdServiceImpl(new UserServiceImpl());
        userForThirdService.loginForQQ("123123");
    }
}
